{% extends 'Web/Views/layout.html.twig' %}
{% block title%}
{{group.title|default("")}}
{% endblock %}
{% block body %}

<!-- <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">

  <ol class="carousel-indicators">
    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>


  <div class="carousel-inner" role="listbox">
    <div class="item active">
      <img src="/asset/img/slide-1.jpg" alt="...">
    </div>
    <div class="item ">
      <img src="/asset/img/slide-2.jpg" alt="...">
    </div>
    <div class="item ">
      <img src="/asset/img/slide-3.jpg" alt="...">
    </div>

  </div>

  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right"></span>
    <span class="sr-only">Next</span>
  </a>
</div> -->

<div class="container" style="margin-top:20px;">
  <div class="row" >
      <div class="col-md-12 clearfix">
        <a href="/" type="button" class="btn btn-primary pull-right">返回首页</a>
      </div>

      <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            当前路由: {{uri}}
          </div>
          <div class="panel-footer">$this -> route() -> getUri()</div>
        </div>
      </div>

      <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            获取所有参数: {{dump(parameters)}}
          </div>
          <div class="panel-footer">$this -> route() -> getParameters()</div>
        </div>
      </div>

      <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            获取所有参数的名称: {{dump(parametersName)}}
          </div>
          <div class="panel-footer">$this -> route() -> getParametersName()</div>
        </div>
      </div>

      <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            当前action名称: {{action}}
          </div>
          <div class="panel-footer">$this -> route() -> getAction()</div>
        </div>
      </div>

       <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            系统允许的请求方法类型: {{dump(methods)}}
          </div>
          <div class="panel-footer">$this -> route() -> getMethods()</div>
        </div>
      </div>

      <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            当前请求方法: {{dump(currentMethod)}}
          </div>
          <div class="panel-footer">$this -> route() -> getCurrentMethod()</div>
        </div>
      </div>

       <div class="col-md-12">
        <div class="panel panel-default">
          <div class="panel-body">
            当前时区: {{timezone}}
          </div>
          <div class="panel-footer">$this -> getContainer() -> getTimezone()</div>
        </div>
      </div>
  </div>

</div>

{% endblock %}